<ion-view title="班级活动">
    <ion-content scroll="false" overflow-scroll="true">
        <ion-scroll direction="y" on-scroll="scrollFun()" delegate-handle="activityScroll" style="width: 100%;height: 100%;">
            <div class="container">
                <div class="content">
                    <div class="card" ng-repeat="item in vm.exhortaions track by $index">
                        <div class="item">
                            <div class="row">
                                <div class="col col-90">
                                    <div>{{item.activityTitle}}</div>
                                    <p class="dark">活动发布时间:{{item.activityTime | date:'yyyy-MM-dd'}}</p>
                                </div>
                                <div class="col" ng-click="gotoDetail('{{item.id}}')">
                                    <i class="ion-chevron-right assertive entrust-info-i"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="load-more-btn" style="text-align: center;" ng-show="vm.loadMoreBtnStatus == false">
                        <p>没有更多公告了</p>
                    </div>
                    <ion-infinite-scroll on-infinite="loadMoreEntrust()" distance="0%" ng-show="vm.loadMoreBtnStatus"></ion-infinite-scroll>
                </div>
            </div>
        </ion-scroll>
        <!--<div class="activity-content">-->
            <!--<ul class="list">-->
                <!--<li class="item item-icon-right" ng-repeat="item in vm.exhortaions | orderBy : 'activityTime' track by $index" ng-click="gotoDetail('{{item.id}}')">-->
                    <!--<i class="icon ion-chevron-right"></i>-->
                    <!--<div>-->
                        <!--<div class="data-title">{{item.activityTitle}}&nbsp;&nbsp;</div>-->
                    <!--</div>-->
                <!--</li>-->
            <!--</ul>-->
            <!--<div class="load-more-btn" style="text-align: center;" ng-click="loadMoreActivity()">-->
                <!--<p>{{vm.loadMoreBtnStr}}</p>-->
            <!--</div>-->
        <!--</div>-->
    </ion-content>
</ion-view>